@baseWidth: 720;
.px2rem(@atr,@px,@base-width:0) when( @base-width > 0){
	@{atr}: unit(@px*10/@base-width , rem);
}

.px2rem(@atr,@px,@base-width:0) when( @base-width = 0){
	@{atr}: unit(@px*10/@baseWidth , rem);
}

@blue: #4482ff;
.Tabs{
    text-align: center;
    border: 1px solid @blue;
    .px2rem(margin, 20);
    .px2rem(border-radius, 5);
    display: inline-block;
    .tab{
        display: inline-block;
        color: #000;
        .px2rem(font-size, 20);
        .px2rem(line-height, 38);
        .px2rem(padding-left, 32);
        .px2rem(padding-right, 32);
        border-right: 1px solid @blue;
        &:last-child{
            border: 0;
        }
        &.actived{
            color: #fff;
            background-color: @blue;
        }
    }
}